using System.Windows;

namespace YouVisio.Silverlight.TextDiff.Extensions
{
    public static class Bool_Ext
    {
        public static Visibility ToVisibility(this bool isVisible)
        {
            return isVisible ? Visibility.Visible : Visibility.Collapsed;
        }
    }
}